this.getItem('frmScan').getForm().reset();

if (Ext.isEmpty(pMo)) {
    return;
}
this.getItem('cdvMo').setValue(pMo);

var me = this;
YX.ZbusRpc.request({
    module: 'SmfrViewProductionOrderService',
    showSuccess: false,
    params: {
        mo: pMo
    },
    success: function(rsp) {
        if (!Ext.isEmpty(rsp.orderList)) {
            me.getItem('txtMatCode').setValue(rsp.orderList[0].matCode);
            me.getItem('txtMatDesc').setValue(rsp.orderList[0].matDesc);
            me.getItem('txtMoQty').setValue(rsp.orderList[0].moQty);

            me.loadWorkOrderNeetMatStore({
                mo: pMo
            });
            me.getItem('grdInput').getStore().removeAll();

            me.getItem('txtResBarcode').focus(true);
        }
    }
});